<?php
/**
 *@author Connor <caokang@foxmail.com>
 *@todo
 *@link www.zeevin.com
 */
?>
<div class="title">
	<h3>日志管理--写新日志</h3>
	<ul>
		<li><a href="#" title="照片管理">照片管理</a></li>
		<li class="current"><a href="#" title="日志管理">日志管理</a></li>
	</ul>
</div>
<div class="main_content">
	<div class="definition">
		<h3>新加日志</h3>
		<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
	</div>
</div>
<script type="text/javascript">
var msg = "<?php echo $msg['status'];?>";
if(msg=='0'){
	$('#topmsg').html("<?php echo $msg['desc']; ?>");
    $('#showmsg').show();
    showDialog();
    setTimeout(function(){location.reload();},400);

}
</script>